package com.jt.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
public class Rights extends BasePojo{
    private Integer id;
    private String name;
    private Integer parentId;
    private String path;
    private Integer level;

    /**
     * 不是表格固有的属性，对于上级菜单，应该包含其下级菜单的所有权限
     * */
    private List<Rights> children;
}
